## CMakeLists.txt for originDB

# The name of the project
project(originDB) 

# Include the extra modules
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)

# Check minimum required version
cmake_minimum_required(VERSION 2.4.3)

# Enable CPack
include(CPack)

# Enabling debugging symbols
set(CMAKE_BUILD_TYPE Release)

# Setting paths
set(_obIncDir ${CMAKE_SOURCE_DIR}/include)
set(_obLinkDir ${CMAKE_SOURCE_DIR}/lib)

# Find and setup Qt4 and OpenBabel2
find_package(Qt4 REQUIRED) 
find_package(OpenBabel2 REQUIRED)
find_package(Python26 REQUIRED)
find_package(Molsketch REQUIRED)

# Take a look at the CMakeLists.txt in src
add_subdirectory(molsketch_wrapper)